/*
 * @Date: 2022-12-21 12:52:06
 * @LastEditTime: 2023-03-14 14:10:55
 * @FilePath: /hua-fei-chong-zhi/src/common/ts/init.ts
 * 介绍:项目初始化
 */
import type { ConfigProviderThemeVars } from "vant";
// * 解决vant弹窗无样式的问题
import 'vant/es/dialog/style';
import { setDialogDefaultOptions } from "vant";
function resetRem() {
  document.documentElement.style.fontSize = `${innerWidth / 750}px`;
}
resetRem();
/**vant全局配置 */
export const vantThemeVars: ConfigProviderThemeVars = {};
/**修改Diallog默认配置 */
setDialogDefaultOptions({
  teleport: "body",
  className: "bevel",
  showCancelButton: true,
});
